<?php
global $user;
$this->theme['comment']['posttime'] = date('F jS, Y', $this->theme['comment']['time']).' at '.date('G:i', $this->theme['comment']['time']);
?>
<li class="comment" id="comment-<?php echo $this->theme['comment']['cid'] ?>">
	<div class="userinfo">
		<div class="userpic"><?php echo $this->theme['comment']['gravatar'] ?></div>
		<div class="usertext">
			<div class="username">
			<?php
				if( $this->theme['comment']['index'] == '' ) {
					echo $this->theme['comment']['author'];
				}else{ ?>
				<a href="<?php echo $this->theme['comment']['index'] ?>" rel="external nofollow"><?php echo $this->theme['comment']['author'] ?></a>
			<?php } ?>
			</div>
			<div class="info"><?php echo $this->theme['comment']['posttime'] ?> | <a href="#comment_editor" onclick="comment_reply('<?php echo $this->theme['comment']['cid'] ?>');">Reply</a></div>
		</div>
		<div class="fixed"></div>
	</div>
	<div class="text">
		<?php echo $this->theme['comment']['comment']; ?>
	</div>
	<?php if( $this->theme['comment']['replyuser'] != NULL ) { ?>
	<div class="reply">
		<div class="replytext"><?php echo $this->theme['comment']['reply']; ?></div>
		<div class="replyinfo"><?php echo $this->theme['comment']['replyuser']; ?><br /><?php echo date('F jS, Y', $this->theme['comment']['replytime']) . ' at ' . date('G:i', $this->theme['comment']['replytime']); ?></div>
	</div>
	<?php } ?>
	<div class="fixed"></div>
</li>
